﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Simple.ViewModel
{
    public class LoginDto
    {
        [Required(ErrorMessage = "请输入用户名")]
        public string LoginName { get; set; }
        [Required(ErrorMessage = "请输入密码")]
        public string PassWord { get; set; }
        //[Required(ErrorMessage = "请输入验证码")]
        //public string CheckCode { get; set; }
    }
}
